@extends('Admin.layout.blank')
@section('body')

<section class="Hui-article-box">
	<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 评论管理 <span class="c-gray en">&gt;</span> 意见反馈 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
	<div class="Hui-article">
		<article class="cl pd-20">
			<div class="cl pd-5 bg-1 bk-gray mt-20"><span class="r">共有数据：<strong>{{ count($back)}}</strong> 条</span> </div>
			<div class="mt-20">
				<table class="table table-border table-bordered table-hover table-bg table-sort">
					<thead>
						<tr class="text-c">
							<th>ID</th>
							<th>用户名</th>
							<th>留言时间</th>
							<th>留言内容</th>
							<th>留言类型</th>
							<th>操作</th>
						</tr>
					</thead>
					<tbody>
						@foreach($back as $backs)
						<tr class="text-c">
							<td>{{ $backs->id }}</td>
							<td>{{ $backs->username }}</td>
							<td>{{ $backs->updated_at }}</td>
							<td>{{ $backs->msg }}</td>
	
							@if ($backs->type == 1)
								<td>投诉</td>
							@else
								<td>反馈</td>
							@endif

							<td class="td-manage"><a title="删除" href="{{ url('Admin/feedback', ['id'=> $backs->id]) }}"  class="ml-5" style="text-decoration:none"><i class="Hui-iconfont">&#xe6e2;</i></a></td>
						</tr>
						@endforeach
					</tbody>
				</table>
			</div>
		</article>
	</div>
</section>
@endsection

<!--/请在上方写此页面业务相关的脚本-->
</body>
</html>